﻿using System;

namespace BepuUtilities.Vectors
{
	internal static class HashHelpers
	{
		public static int Combine(int h1, int h2)
		{
			uint num = (uint)(h1 << 5 | (int)((uint)h1 >> 27));
			return (int)(num + (uint)h1 ^ (uint)h2);
		}

		public static readonly int RandomSeed = new Random().Next(int.MinValue, int.MaxValue);
	}
}